package com.itheima.idea;

public class Student2 {
    private String name;
    private int age;

    public void setName(String name){
        System.out.println("当前this表示的对象地址"+this);
        this.name = name;
    }
    public String getName(){return name;}


    public void getAge(int age){
        this.name = name;
    }
    public int setAge(){return age;}

    public void show(){
        System.out.println(name +"的年龄是"+age);
    }

    public void setAge(int i) {
    }
}
